import java.util.Scanner;

public class C3_22 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        String []a={"aa","bb","cc","ff"};
        for(int i=0;i<a.length;i++){
            System.out.print(a[i]+"   ");
        }
        System.out.println("");
        System.out.println("请选择删除位置（1~4）");
        int b=in.nextInt();
        b=b-1;
        for(;b<a.length-1;b++){
            a[b]=a[b+1];
        }
        a[b]=null;
        for(int i=0;i<a.length;i++){
            System.out.print(a[i]+"   ");
        }
    }
}
